﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace SubstrateHelper.Models
{
    /// <summary>
    /// 库存_参数
    /// </summary>
    public class ProductionEntityRecord : RecordBase
    {
        [Key]
        public int ID { get; set; }


        [Display(Name = "库存id")]
        [Required(ErrorMessage = "库存id不能为空！")]        
        public string InventoryID { get; set; }



        public Inventory Inventory { get; set; }



        //[Display(Name = "参数id")]
        //[Required(ErrorMessage = "库存id不能为空！")]        
        //public int ProductionEntityParameterID { get; set; }


        
        //public ProductionEntityParameter ProductionEntityParameter { get; set; }




    }
}
